<?=form_open(uri_string());?>
<table class="form">
	<tr>
		<td class="w150 required label">Tên Modules</td>
		<td>
			<select name="permission_id" style="width: 400px;">
				<?foreach($list as $val):?>
				<option value="<?=$val->permission_id?>" <?=($val->permission_id == $this->uri->segment(3))?'selected="selected"':''?>><?=$val->permission_name?> - <?=$val->permission_notice?></option>
				<?endforeach;?>
			</select>
		</td>
	</tr>
	<tr>
		<td class="w150 required label">Tên chức năng</td>
		<td><input type="text" name="function_name" style="width: 400px;" value="<?=$rs->function_name?>"></td>
	</tr>        
	<tr>
		<td class="required label">Ghi chú</td>
		<td>
			<input type="text" name="function_notice" value="<?=$rs->function_notice?>" style="width: 400px;">
		</td>
	</tr>        

	<tr>
		<td></td>
		<td class="footer"><input type="submit" name="bt_submit" class="capnhat"></td>
	</tr>               
</table>
<?=form_close();?>
